package com.finance.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.finance.entity.GoodsOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品订单数据Mapper接口
 */
@Mapper
public interface GoodsOrderMapper extends BaseMapper<GoodsOrder> {
    /**
     * 批量插入商品订单数据
     * @param orders 订单列表
     * @return 插入成功的记录数
     */
    int batchInsert(@Param("list") List<GoodsOrder> orders);
} 